//
//  PramasMontage.h
//  布丁动画项目
//
//  Created by apple on 15/10/1.
//  Copyright © 2015年 apple. All rights reserved.
//

#import <UIKit/UIKit.h>

#define kDIEIsIPad (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)

#define kDIEIsIPhone (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone)
#define kDIEIsRetina ([[UIScreen mainScreen] scale] >= 2.0)

#define kDIEScreenWidth ([[UIScreen mainScreen] bounds].size.width)
#define kDIEScreenHeight ([[UIScreen mainScreen] bounds].size.height)
#define kDIEScreenMaxLength (MAX(kDIEScreenWidth, kDIEScreenHeight))
#define kDIEScreenMinLength (MIN(kDIEScreenWidth, kDIEScreenHeight))

#define kDIEIsIPhone4SOrLess (kDIEIsIPhone && kDIEScreenMaxLength < 568.0)
#define kDIEIsIPhone5 (kDIEIsIPhone && kDIEScreenMaxLength == 568.0)
#define kDIEIsIPhone6 (kDIEIsIPhone && kDIEScreenMaxLength == 667.0)
#define kDIEIsIPhone6P (kDIEIsIPhone && kDIEScreenMaxLength == 736.0)

@interface PramasMontage : NSObject
+ (NSDictionary *)deviceParams;

+ (NSDictionary *)appParams;

+ (NSDictionary *)fullParams:(NSDictionary *)params;


+(NSString *)SchoolMianPageApi:(NSInteger) typeid Page:(NSInteger )Page;

+(NSString *)Charact:(NSInteger )Tyeid;

+(NSString *)BigCharact:(NSInteger )typeid Page:(NSInteger )page;

+(NSString *)SmallCharect:(NSInteger )Aid Page:(NSInteger )page;

+(NSString *)AticleBidy:(NSString *)aticleId;





@end
